FUNCTION

assert_le

pure function assert_le<T>(actual: T, greatest_expected: T): unit

Assert that a value is less than or equal to a given upper bound.

Parameters

  • actual — the actual value
  • greatest_expected — the upper bound (inclusive)

Since

0.10.4

© 2026 Chromia